<?php
/**
* Admin for System Apps
*
* @author Mario Schillermann <info@rockit-flash.com>
* @encoding UTF-8 äöüßÖÄÜ
* @copyright © 2011 Mario Schillermann (info@rockit-flash.com)
* @license GNU GPL v2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @package Page
* @subpackage Index
* @link $HeadURL$
* @version SVN: $Id$
* @phpVersion >=5
* @todo
*/

class Dashboard_DashboardController extends Zend_Controller_Action
{
    /**
     * Initialize the general options
     *
     * @return void
     */
    public function init()
    {
        $this->_helper->layout->disableLayout();
    }
    /**
     * Dashboard for apps
     *
     * @return void
     */
    public function indexAction()
    {
        $this->view
             ->headLink()
             ->appendStylesheet("/dashboard/css/main.css");
        
        $dashboard = new Dashboard_Model_App;
        $this->view->apps = $dashboard->getApps();
        $this->view->favorites = $dashboard->getFavorites();
    }
}